NAFPack_meshgrid Module

Module for creating a meshgrid from two vectors

This module provides a subroutine to create a meshgrid.


Uses

  • module~~nafpack_meshgrid~~UsesGraph module~nafpack_meshgrid NAFPack_meshgrid module~nafpack_constant NAFPack_constant module~nafpack_meshgrid->module~nafpack_constant iso_fortran_env iso_fortran_env module~nafpack_constant->iso_fortran_env

Subroutines

public subroutine meshgrid(x_vector, y_vector, X, Y)

Make N-dimensional meshgrid from two vectors x_vector and y_vector

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), DIMENSION(:) :: x_vector
real(kind=dp), intent(in), DIMENSION(:) :: y_vector
real(kind=dp), intent(out), DIMENSION(SIZE(y_vector), SIZE(x_vector)) :: X
real(kind=dp), intent(out), DIMENSION(SIZE(y_vector), SIZE(x_vector)) :: Y